
//
//  WeatherDTO.m
//  QuickCure37
//
//  Created by 马文星 on 16/6/19.
//  Copyright © 2016年 Demos. All rights reserved.
//

#import "WeatherDTO.h"

@implementation WeatherDTO

+ (instancetype)dtoWithDic:(NSDictionary *)dic{

    WeatherDTO *dto =[[WeatherDTO alloc] init];
    
     dto.dayPictureUrl = dic[@"dayPictureUrl"];
     dto.weather       = dic[@"weather"];
     dto.temperature   = dic[@"temperature"];
     dto.date          = dic[@"date"];

    return dto;
}

@end
